The File I/O API > The file I/O API > DWfile.remove()

 

DWfile.remove()

Availability

Dreamweaver 3.0

Description

Moves the specified file to the Recycling Bin or Trash.

Arguments

fileURL

The argument is the file you want to remove, expressed as a file:// URL.

Returns

true if the operation succeeded, false otherwise.